// store/storage.js
// 本地存储一些基本数据
export const state = () => ({
  navActive: 0,
  city: {
    id: 2278,
    title: '成都市'
  },
  searchType: '驾校',
  skeyword: '',
})

export const mutations = {
  SET_NAVACTIVE: (state, data) => {
    state.navActive = data
  },
  SET_CITY: (state, data) => {
    state.city = data
  },
  SET_SEARCHTYPE: (state, data) => {
    state.searchType = data
  },
  SET_SKEYWORD: (state, data) => {
    state.skeyword = data
  },

}


export const actions = {

}
